/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package stis.statpro.ibs.view;

import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JTextField;
import stis.statpro.ibs.widget.WidgetPanelInsertC;

/**
 *
 * @author habib <imamhabibpamungkas@gmail.com>
 */
public class PanelInsertC extends javax.swing.JPanel {

    /**
     * Creates new form PanelInsertC
     */
    public PanelInsertC() {
        initComponents();
        kip.setEnabled(false);
    }

    public void addButtonSaveListener(ActionListener l) {
        buttonSave.addActionListener(l);
    }

    public void addButtonBatalListener(ActionListener l) {
        buttonBatal.addActionListener(l);
    }

    public void addButtonPrevListener(ActionListener l) {
        buttonPrev.addActionListener(l);
    }

    public JCheckBox getAsetBangunan() {
        return asetBangunan;
    }

    public JTextField getAsetDalamRupiah() {
        return asetDalamRupiah;
    }

    public JCheckBox getAsetGadget() {
        return asetGadget;
    }

    public JCheckBox getAsetKendaraan() {
        return asetKendaraan;
    }

    public JCheckBox getAsetLainnya() {
        return asetLainnya;
    }

    public JCheckBox getAsetMesindanAlatBerat() {
        return asetMesindanAlatBerat;
    }

    public JButton getButtonBatal() {
        return buttonBatal;
    }

    public JButton getButtonPrev() {
        return buttonPrev;
    }

    public JButton getButtonSave() {
        return buttonSave;
    }

    public JTextField getKip() {
        return kip;
    }

    public JComboBox getLokasiPrsh() {
        return lokasiPrsh;
    }

    public JTextField getOmzetsebulanDalamRupiah() {
        return omzetsebulanDalamRupiah;
    }

    public JComboBox getStatusPenanamanModal() {
        return statusPenanamanModal;
    }

    public JTextField getTenagakerja() {
        return tenagakerja;
    }

    public WidgetPanelInsertC getWidgetPanelInsertC1() {
        return widgetPanelInsertC1;
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        widgetPanelInsertC1 = new stis.statpro.ibs.widget.WidgetPanelInsertC();
        kip = new javax.swing.JTextField();
        tenagakerja = new javax.swing.JTextField();
        omzetsebulanDalamRupiah = new javax.swing.JTextField();
        statusPenanamanModal = new javax.swing.JComboBox();
        lokasiPrsh = new javax.swing.JComboBox();
        asetBangunan = new javax.swing.JCheckBox();
        asetKendaraan = new javax.swing.JCheckBox();
        asetMesindanAlatBerat = new javax.swing.JCheckBox();
        asetGadget = new javax.swing.JCheckBox();
        asetLainnya = new javax.swing.JCheckBox();
        asetDalamRupiah = new javax.swing.JTextField();
        buttonSave = new javax.swing.JButton();
        buttonBatal = new javax.swing.JButton();
        buttonPrev = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();

        setMaximumSize(new java.awt.Dimension(647, 453));
        setMinimumSize(new java.awt.Dimension(647, 453));
        setPreferredSize(new java.awt.Dimension(647, 453));
        setLayout(new java.awt.BorderLayout());

        statusPenanamanModal.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1. PMDN", "2. PMA", "3. Non-Fasilitas" }));

        lokasiPrsh.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1. Di dalam kawasan industri", "2. Di luar kawasan industri" }));

        asetBangunan.setText("Bangunan");

        asetKendaraan.setText("Kendaraan");

        asetMesindanAlatBerat.setText("Mesin dan alat berat");

        asetGadget.setText("Komputer atau gadget |");

        asetLainnya.setText("Lainnya");

        buttonSave.setText("Save");

        buttonBatal.setText("Batal");

        buttonPrev.setText("<<Prev");

        jLabel1.setText("Dalam Rupiah");

        javax.swing.GroupLayout widgetPanelInsertC1Layout = new javax.swing.GroupLayout(widgetPanelInsertC1);
        widgetPanelInsertC1.setLayout(widgetPanelInsertC1Layout);
        widgetPanelInsertC1Layout.setHorizontalGroup(
            widgetPanelInsertC1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(widgetPanelInsertC1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(widgetPanelInsertC1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, widgetPanelInsertC1Layout.createSequentialGroup()
                        .addComponent(buttonPrev)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 444, Short.MAX_VALUE)
                        .addComponent(buttonSave)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(buttonBatal)
                        .addContainerGap())
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, widgetPanelInsertC1Layout.createSequentialGroup()
                        .addGap(0, 0, Short.MAX_VALUE)
                        .addGroup(widgetPanelInsertC1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(widgetPanelInsertC1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(statusPenanamanModal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lokasiPrsh, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(omzetsebulanDalamRupiah, javax.swing.GroupLayout.PREFERRED_SIZE, 99, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(tenagakerja, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGroup(widgetPanelInsertC1Layout.createSequentialGroup()
                                    .addGroup(widgetPanelInsertC1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(asetBangunan)
                                        .addComponent(asetKendaraan))
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(widgetPanelInsertC1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addGroup(widgetPanelInsertC1Layout.createSequentialGroup()
                                            .addComponent(asetMesindanAlatBerat)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(asetLainnya))
                                        .addGroup(widgetPanelInsertC1Layout.createSequentialGroup()
                                            .addComponent(asetGadget)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(jLabel1)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(asetDalamRupiah, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                            .addComponent(kip, javax.swing.GroupLayout.PREFERRED_SIZE, 134, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(57, 57, 57))))
        );
        widgetPanelInsertC1Layout.setVerticalGroup(
            widgetPanelInsertC1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, widgetPanelInsertC1Layout.createSequentialGroup()
                .addGap(21, 21, 21)
                .addComponent(kip, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 158, Short.MAX_VALUE)
                .addComponent(statusPenanamanModal, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(lokasiPrsh, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(widgetPanelInsertC1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(asetMesindanAlatBerat)
                    .addComponent(asetBangunan)
                    .addComponent(asetLainnya))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(widgetPanelInsertC1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(asetGadget)
                    .addComponent(asetKendaraan)
                    .addComponent(jLabel1)
                    .addComponent(asetDalamRupiah, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(omzetsebulanDalamRupiah, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(tenagakerja, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(widgetPanelInsertC1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(buttonSave)
                    .addComponent(buttonBatal)
                    .addComponent(buttonPrev))
                .addContainerGap())
        );

        add(widgetPanelInsertC1, java.awt.BorderLayout.CENTER);
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JCheckBox asetBangunan;
    private javax.swing.JTextField asetDalamRupiah;
    private javax.swing.JCheckBox asetGadget;
    private javax.swing.JCheckBox asetKendaraan;
    private javax.swing.JCheckBox asetLainnya;
    private javax.swing.JCheckBox asetMesindanAlatBerat;
    private javax.swing.JButton buttonBatal;
    private javax.swing.JButton buttonPrev;
    private javax.swing.JButton buttonSave;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JTextField kip;
    private javax.swing.JComboBox lokasiPrsh;
    private javax.swing.JTextField omzetsebulanDalamRupiah;
    private javax.swing.JComboBox statusPenanamanModal;
    private javax.swing.JTextField tenagakerja;
    private stis.statpro.ibs.widget.WidgetPanelInsertC widgetPanelInsertC1;
    // End of variables declaration//GEN-END:variables
}
